{% load static %}
<link rel="stylesheet" type="text/css"href="{% static 'polls/style.css' %}">

{% if last_question_list %}
    <ul>
        {% for question in last_question_list %}
        <li><a href="{% url 'polls:detail' question.id %}">{{question.question_text }}</a></li>
        {% endfor %}
    </ul>
{% else %}
    <p>没有待投票的问题</p>
{% endif %}